package demo1;

//字类、派生类
public class Cat extends Animal {

    public Cat(String name, int age) {
        super(name, age);
    }

    public void menw(){
        System.out.println(name + "喵喵喵！");
    }
}
